package com.pkk.penguin.components.validator.exception;

import com.pkk.components.exceptions.BusinessException;
import com.pkk.components.rpc.enums.CodeEnum;

/**
 * 可以直接抛给用户的业务异常
 *
 * @author luffy
 */
public class FieldBusinessException extends BusinessException {

  private static final long serialVersionUID = -6068665462900220174L;

  public FieldBusinessException(CodeEnum code) {
    super(code);
  }

  public FieldBusinessException(CodeEnum code, FieldBusinessException e) {
    super(e, code);
  }

  public FieldBusinessException(CodeEnum code, String message) {
    super(code, message);
  }
}
